package com.hhkj.api.order.model.req;

import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * ApiOrderRefundSaveReq
 *
 * @author zheng
 * @since 2023/11/6 21:34
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class ApiOrderRefundSaveReq extends ApiOrderRefundReq {

    /** 项目id列表 */
    @NotEmpty(message = "学员不能为空")
    @Override
    public List<Long> getItemIdList() {
        return super.getItemIdList();
    }

    @NotNull(message = "订单id不能为空")
    @Override
    public Long getOrderId() {
        return super.getOrderId();
    }
}
